package com.fen.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fen.pojo.User;
import com.fen.vo.requset.RequsetUserov;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/** 
* @Description: userService层 
* @Author: lijiafen
* @Date:  2021/10/29
* @Time: 21:15
* @eamil: 2368044269@qq.com
*/ 
@Service
public interface UserServict extends IService<User> {

    /*跟据电话号码查询用户*/
    User SelectuserByphone(String telephone);
    /*添加用户*/
    boolean adduser(RequsetUserov userov);
    /*更具密码查询用户*/
    User SelectuserBypassword(String password);
    @Override
    default List<User> list() {
        return IService.super.list();
    }
    /*根据用户名查询user*/
    User SelectuserByname(String name);



}
